package com.xc.smart.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Set;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xc.smart.entity.Role;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 *   @author mtl
 *   2021/6/15
 */   
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    /**
     * 根据用户ID 获取用户权限信息
     * @param userId
     * @return
     */
    Set<String> selectByName(@Param("userId")Integer userId);



}